import Vue from 'vue'
import VueRouter from 'vue-router'
import { index } from '../api'

const Carnival = () => import(/* webpackChunkName: "Carnival" */ '@/June-Components/Carnival/carnival.vue')
const Carnivale = () => import(/* webpackChunkName: "Carnival" */ '@/June-Components/Carnival/carnivale.vue')
// const Father = () => import(/* webpackChunkName: "Father" */ '@/June-Components/Father/father.vue')
// const Fathere = () => import(/* webpackChunkName: "Father" */ '@/June-Components/Father/fathere.vue')
// const Thing = () => import(/* webpackChunkName: "Thing" */ '@/June-Components/Thing/thing.vue')
// const Thinge = () => import(/* webpackChunkName: "Thing" */ '@/June-Components/Thing/thinge.vue')
const Taste = () => import(/* webpackChunkName: "Taste" */ '@/July-Components/Taste/taste.vue')
const Tastee = () => import(/* webpackChunkName: "Taste" */ '@/July-Components/Taste/tastee.vue')
// const Index = () => import(/* webpackChunkName: "Index" */ '../index.vue')
// const Indexe = () => import(/* webpackChunkName: "Index" */ '../indexe.vue')
const Fine = () => import(/* webpackChunkName: "Fine" */ '@/July-Components/Fine/fine.vue')
const Finee = () => import(/* webpackChunkName: "Fine" */ '@/July-Components/Fine/finee.vue')
// const Disney = () => import(/* webpackChunkName: "Disney" */ '@/July-Components/Disney/disney.vue')
// const Disneye = () => import(/* webpackChunkName: "Disney" */ '@/July-Components/Disney/disneye.vue')
// const Delicate = () => import(/* webpackChunkName: "Delicate" */ '@/July-Components/Delicate/delicate.vue')
// const Delicatee = () => import(/* webpackChunkName: "Delicate" */ '@/July-Components/Delicate/delicatee.vue')
const Ce = () => import(/* webpackChunkName: "Delicate" */ '@/July-Components/Delicate/ce.vue')
// const Snacks = () => import(/* webpackChunkName: "Snacks" */ '@/July-Components/Snacks/snacks.vue')
// const Snackse = () => import(/* webpackChunkName: "Snacks" */ '@/July-Components/Snacks/snackse.vue')
// const Clean = () => import(/* webpackChunkName: "Clean" */ '@/July-Components/Clean/clean.vue')
// const Cleane = () => import(/* webpackChunkName: "Clean" */ '@/July-Components/Clean/cleane.vue')
// const Life = () => import(/* webpackChunkName: "Life" */ '@/July-Components/Life/life.vue')
// const Lifee = () => import(/* webpackChunkName: "Life" */ '@/July-Components/Life/lifee.vue')
// const Summer = () => import(/* webpackChunkName: "Summer" */ '@/July-Components/Summer/summer.vue')
// const Summere = () => import(/* webpackChunkName: "Summer" */ '@/July-Components/Summer/summere.vue')
// const Beautiful = () => import(/* webpackChunkName: "Beautiful" */ '@/July-Components/Beautiful/beautiful.vue')
// const Beautifule = () => import(/* webpackChunkName: "Beautiful" */ '@/July-Components/Beautiful/beautifule.vue')
// const Natural = () => import(/* webpackChunkName: "Natural" */ '@/July-Components/Natural/natural.vue')
// const Naturale = () => import(/* webpackChunkName: "Natural" */ '@/July-Components/Natural/naturale.vue')
// const Travel = () => import(/* webpackChunkName: "Travel" */ '@/July-Components/Travel/travel.vue')
// const Travele = () => import(/* webpackChunkName: "Travel" */ '@/July-Components/Travel/travele.vue')
const Twenty = () => import(/* webpackChunkName: "Twenty" */ '@/July-Components/Twenty/twenty.vue')
const Twentye = () => import(/* webpackChunkName: "Twenty" */ '@/July-Components/Twenty/twentye.vue')
// const Army = () => import(/* webpackChunkName: "Army" */ '@/August-Components/Army/army.vue')
// const Armye = () => import(/* webpackChunkName: "Army" */ '@/August-Components/Army/armye.vue')
// const Olympic = () => import(/* webpackChunkName: "Olympic" */ '@/August-Components/Olympic/olympic.vue')
// const Olympice = () => import(/* webpackChunkName: "Olympic" */ '@/August-Components/Olympic/olympice.vue')
const Explosive = () => import(/* webpackChunkName: "Explosive" */ '@/August-Components/Explosive/explosive.vue')
const Explosivee = () => import(/* webpackChunkName: "Explosive" */ '@/August-Components/Explosive/explosivee.vue')
const You = () => import(/* webpackChunkName: "You" */ '@/August-Components/You/you.vue')
const Youe = () => import(/* webpackChunkName: "You" */ '@/August-Components/You/youe.vue')
const Share = () => import(/* webpackChunkName: "Share" */ '@/August-Components/You/share.vue')
const Fen = () => import(/* webpackChunkName: "Fen" */ '@/August-Components/You/fen.vue')
const Particulars = () => import(/* webpackChunkName: "Particulars" */ '@/August-Components/You/particulars.vue')
const Dome = () => import(/* webpackChunkName: "Dome" */ '@/August-Components/You/dome.vue')
// const Food = () => import(/* webpackChunkName: "Food" */ '@/August-Components/Food/food.vue')
// const Foode = () => import(/* webpackChunkName: "Food" */ '@/August-Components/Food/foode.vue')
// const Kitchen = () => import(/* webpackChunkName: "Kitchen" */ '@/August-Components/Kitchen/kitchen.vue')
// const Kitchene = () => import(/* webpackChunkName: "Kitchen" */ '@/August-Components/Kitchen/kitchene.vue')
// const Digital = () => import(/* webpackChunkName: "Digital" */ '@/August-Components/Digital/digital.vue')
// const Digitale = () => import(/* webpackChunkName: "Digital" */ '@/August-Components/Digital/digitale.vue')
// const Stars = () => import(/* webpackChunkName: "Stars" */ '@/August-Components/Stars/stars.vue')
// const Starse = () => import(/* webpackChunkName: "Stars" */ '@/August-Components/Stars/starse.vue')
const Moon = () => import(/* webpackChunkName: "Moon" */ '@/August-Components/Moon/moon.vue')
const Moone = () => import(/* webpackChunkName: "Moon" */ '@/August-Components/Moon/moone.vue')
// 周年庆主页面
const Anniversary = () => import(/* webpackChunkName: "Anniversary" */ '@/August-Components/Anniversary/anniversary.vue')
const Anniversarye = () => import(/* webpackChunkName: "Anniversary" */ '@/August-Components/Anniversary/anniversarye.vue')
// 周年庆预售
const Sale = () => import(/* webpackChunkName: "Sale" */ '@/August-Components/Sale/sale.vue')
const Salee = () => import(/* webpackChunkName: "Sale" */ '@/August-Components/Sale/salee.vue')
// 分页
const Pagingone = () => import(/* webpackChunkName: "Paging" */ '@/August-Components/Paging/pagingone.vue')
const Pagingtwo = () => import(/* webpackChunkName: "Paging" */ '@/August-Components/Paging/pagingtwo.vue')
const Pagingthree = () => import(/* webpackChunkName: "Paging" */ '@/August-Components/Paging/pagingthree.vue')
const Pagingfour = () => import(/* webpackChunkName: "Paging" */ '@/August-Components/Paging/pagingfour.vue')
// 开学季
// const Opens = () => import(/* webpackChunkName: "Opens" */ '@/August-Components/Opens/opens.vue')
// const Opense = () => import(/* webpackChunkName: "Opens" */ '@/August-Components/Opens/opense.vue')
// 门店
const Null = () => import(/* webpackChunkName: "Null" */ '@/August-Components/You/null.vue')
// 预热
// const Hot = () => import(/* webpackChunkName: "Hot" */ '@/August-Components/Hot/hot.vue')
// const Hote = () => import(/* webpackChunkName: "Hot" */ '@/August-Components/Hot/hote.vue')
// 羊肉
const Skin = () => import(/* webpackChunkName: "Skin" */ '@/August-Components/Skin/skin.vue')
const Skine = () => import(/* webpackChunkName: "Skin" */ '@/August-Components/Skin/skine.vue')
// 购物卡
const Go = () => import(/* webpackChunkName: "Go" */ '@/August-Components/You/go.vue')
// 九月美食
const Delicious = () => import(/* webpackChunkName: "Delicious" */ '@/August-Components/Delicious/delicious.vue')
const Deliciouse = () => import(/* webpackChunkName: "Delicious" */ '@/August-Components/Delicious/deliciouse.vue')
// 九月活动
// 转盘二期
const Draw = () => import(/* webpackChunkName: "Draw" */ '@/September-Components/Draw/draw.vue')
const DrawH = () => import(/* webpackChunkName: "Draw" */ '@/September-Components/Draw/drawh.vue')
// 出游
const Travel = () => import(/* webpackChunkName: "Travel" */ '@/September-Components/Travel/travel.vue')
const Travele = () => import(/* webpackChunkName: "Travel" */ '@/September-Components/Travel/travele.vue')
// 出游
const Children = () => import(/* webpackChunkName: "Children" */ '@/September-Components/Children/children.vue')
const Childrene = () => import(/* webpackChunkName: "Children" */ '@/September-Components/Children/childrene.vue')
// 9月电器
const An = () => import(/* webpackChunkName: "An" */ '@/September-Components/An/an.vue')
const Ane = () => import(/* webpackChunkName: "An" */ '@/September-Components/An/ane.vue')
// 9月雷允上
const Thunder = () => import(/* webpackChunkName: "Thunder" */ '@/September-Components/Thunder/thunder.vue')
const Thundere = () => import(/* webpackChunkName: "Thunder" */ '@/September-Components/Thunder/thundere.vue')
// 9月蛋黄酥
const Egg = () => import(/* webpackChunkName: "Egg" */ '@/September-Components/Egg/egg.vue')
const Egge = () => import(/* webpackChunkName: "Egg" */ '@/September-Components/Egg/egge.vue')
// 9月会员日
const Member = () => import(/* webpackChunkName: "Member" */ '@/September-Components/Member/member.vue')
const Membere = () => import(/* webpackChunkName: "Member" */ '@/September-Components/Member/membere.vue')
// 组件封装测试
const Dome1 = () => import(/* webpackChunkName: "Dome" */ '@/September-Components/Dome/dome1.vue')

// 气泡水——中奖信息公示
const Information = () => import(/* webpackChunkName: "Draw" */ '@/September-Components/Draw/information.vue')
const InformationH = () => import(/* webpackChunkName: "Draw" */ '@/September-Components/Draw/informationh.vue')
// 重阳节
const Sun = () => import(/* webpackChunkName: "Sun" */ '@/September-Components/Sun/sun.vue')
const Sune = () => import(/* webpackChunkName: "Sun" */ '@/September-Components/Sun/sune.vue')
// 国庆节
const National = () => import(/* webpackChunkName: "National" */ '@/September-Components/National/national.vue')
const Nationale = () => import(/* webpackChunkName: "National" */ '@/September-Components/National/nationale.vue')
// 气泡水
const Notice = () => import(/* webpackChunkName: "Notice" */ '@/September-Components/Notice/notice.vue')
const Noticee = () => import(/* webpackChunkName: "Notice" */ '@/September-Components/Notice/noticee.vue')
// 店主拉新
const New = () => import(/* webpackChunkName: "New" */ '@/September-Components/New/new.vue')
const Newe = () => import(/* webpackChunkName: "New" */ '@/September-Components/New/newe.vue')
// 周年庆——中奖信息公示
const Announcement = () => import('@/September-Components/lottery/announcement.vue')
const AnnouncementH = () => import('@/September-Components/lottery/announcementh.vue')
// 十月活动
// 宠粉节10.12
const Fans = () => import(/* webpackChunkName: "Fans" */ '@/September-Components/Fans/fans.vue')
const Fanse = () => import(/* webpackChunkName: "Fans" */ '@/September-Components/Fans/fanse.vue')
// 双十一
const Eleven = () => import('@/October-Components/Eleven/eleven.vue')
const Elevene = () => import('@/October-Components/Eleven/elevene.vue')
// 空状态
const Endone = () => import('@/October-Components/End/endone.vue')
const Endtwo = () => import('@/October-Components/End/endtwo.vue')
//防黄牛
// 预约成功信息
const Success = () => import('@/October-Components/End/success.vue')
// 秒杀模块_app
const CommodityPage = () => import('@/September-Components/Spike/commodityPage/index')  // 商品详情页
const HomeMode = () => import('@/September-Components/Spike/home/index')   // 首页
const PayOrder = () => import('@/September-Components/Spike/payOrder/index')  // 支付订单页
const SpikePage = () => import('@/September-Components/Spike/spikePage/index')  // 活动页
const MyOrder = () => import('@/September-Components/Spike/myOrder/index')  // 我的订单页

// 超级预_app
const ProductDetails = () => import('@/September-Components/presale/productDetails/index')  // 商品详情页
const Registration = () => import('@/September-Components/presale/registration/index')  // 抽签信息登记
const Successfully = () => import('@/September-Components/presale/successfully/index')  // 抽签成功
// 超级预_h5
const ProductDetailsMoile = () => import('@/September-Components/presale/productDetails/mobile')  // 商品详情页

// 我的预约
const Home = () => import('@/October-Components/Home/home.vue')
const Appointment = () => import('@/October-Components/Appointment/appointment.vue')
const Lottery = () => import('@/October-Components/Lottery/lottery.vue')
const commodityDetails = () => import('@/October-Components/commodity/details.vue')


Vue.use(VueRouter)

const routes = [
  // {
  //   path: '/index',
  //   component: Index,
  // },
  // {
  //   path: '/indexe',
  //   component: Indexe
  // },
  {
    path: '/',
    redirect: '/carnival'
  },
  {
    path: '/carnival',
    component: Carnival,
    name: "Carnival"
  },
  {
    path: '/carnivale',
    component: Carnivale,
    name: "Carnivale"
  },
  // {
  //   path: '/father',
  //   component: Father,
  //   name: "Father"
  // },
  // {
  //   path: '/fathere',
  //   component: Fathere,
  //   name: "Fathere"
  // },
  // {
  //   path: '/thing',
  //   component: Thing,
  //   name: "Thing"
  // },
  // {
  //   path: '/thinge',
  //   component: Thinge,
  //   name: "Thinge"
  // },
  {
    path: '/taste',
    component: Taste,
    name: "Taste"
  },
  {
    path: '/tastee',
    component: Tastee,
    name: "Tastee"
  },
  {
    path: '/fine',
    component: Fine,
    name: "Fine"
  },
  {
    path: '/finee',
    component: Finee,
    name: "Finee"
  },
  // {
  //   path: '/disney',
  //   component: Disney,
  //   name: "Disney"
  // },
  // {
  //   path: '/disneye',
  //   component: Disneye,
  //   name: "Disneye"
  // },
  // {
  //   path: '/delicate',
  //   component: Delicate,
  //   name: "Delicate"
  // },
  // {
  //   path: '/delicatee',
  //   component: Delicatee,
  //   name: "Delicatee"
  // },
  {
    path: '/ce',
    component: Ce,
    name: "Ce"
  },
  // {
  //   path: '/snacks',
  //   component: Snacks,
  //   name: "Snacks"
  // },
  // {
  //   path: '/snackse',
  //   component: Snackse,
  //   name: "Snackse"
  // },
  // {
  //   path: '/clean',
  //   component: Clean,
  //   name: "Clean"
  // },
  // {
  //   path: '/cleane',
  //   component: Cleane,
  //   name: "Cleane"
  // },
  // {
  //   path: '/life',
  //   component: Life,
  //   name: "Life"
  // },
  // {
  //   path: '/lifee',
  //   component: Lifee,
  //   name: "Lifee"
  // },
  // {
  //   path: '/summer',
  //   component: Summer,
  //   name: "Summer"
  // },
  // {
  //   path: '/summere',
  //   component: Summere,
  //   name: "Summere"
  // },
  // {
  //   path: '/beautiful',
  //   component: Beautiful,
  //   name: "Beautiful"
  // },
  // {
  //   path: '/beautifule',
  //   component: Beautifule,
  //   name: "Beautifule"
  // },
  // {
  //   path: '/natural',
  //   component: Natural,
  //   name: "Natural"
  // },
  // {
  //   path: '/naturale',
  //   component: Naturale,
  //   name: "Naturale"
  // },
  // 出游
  {
    path: '/travel',
    component: Travel,
    name: "Travel"
  },
  {
    path: '/travele',
    component: Travele,
    name: "Travele"
  },
  {
    path: '/twenty',
    component: Twenty,
    name: "Twenty"
  },
  {
    path: '/twentye',
    component: Twentye,
    name: "Twentye"
  },
  // {
  //   path: '/army',
  //   component: Army,
  //   name: "Army"
  // },
  // {
  //   path: '/armye',
  //   component: Armye,
  //   name: "Armye"
  // },
  // {
  //   path: '/olympic',
  //   component: Olympic,
  //   name: "Olympic"
  // },
  // {
  //   path: '/olympice',
  //   component: Olympice,
  //   name: "Olympice"
  // },
  {
    path: '/explosive',
    component: Explosive,
    name: "Explosive"
  },
  {
    path: '/explosivee',
    component: Explosivee,
    name: "Explosivee"
  },
  {
    path: '/you',
    component: You,
    name: "You"
  },
  {
    path: '/youe',
    component: Youe,
    name: "Youe"
  },
  {
    path: '/fen',
    component: Fen,
    name: "Fen"
  },
  {
    path: '/dome',
    component: Dome,
    name: "Dome"
  },
  {
    path: '/dome1',
    component: Dome1,
    name: "Dome1"
  },
  // {
  //   path: '/food',
  //   component: Food,
  //   name: "Food"
  // },
  // {
  //   path: '/foode',
  //   component: Foode,
  //   name: "Foode"
  // },
  // {
  //   path: '/kitchen',
  //   component: Kitchen,
  //   name: "Kitchen"
  // },
  // {
  //   path: '/kitchene',
  //   component: Kitchene,
  //   name: "Kitchene"
  // },
  // {
  //   path: '/digital',
  //   component: Digital,
  //   name: "Digital"
  // },
  // {
  //   path: '/digitale',
  //   component: Digitale,
  //   name: "Digitale"
  // },
  // {
  //   path: '/stars',
  //   component: Stars,
  //   name: "Stars"
  // },
  // {
  //   path: '/starse',
  //   component: Starse,
  //   name: "Starse"
  // },
  {
    path: '/moon',
    component: Moon,
    name: "Moon"
  },
  {
    path: '/moone',
    component: Moone,
    name: "Moone"
  },
  {
    path: '/anniversary',
    component: Anniversary,
    name: "Anniversary"
  },
  {
    path: '/anniversarye',
    component: Anniversarye,
    name: "Anniversarye"
  },
  {
    path: '/sale',
    component: Sale,
    name: "Sale"
  },
  {
    path: '/salee',
    component: Salee,
    name: "Salee"
  },
  {
    path: '/pagingone',
    component: Pagingone,
    name: "Pagingone"
  },
  {
    path: '/pagingtwo',
    component: Pagingtwo,
    name: "Pagingtwo"
  },
  {
    path: '/pagingthree',
    component: Pagingthree,
    name: "Pagingthree"
  },
  {
    path: '/pagingfour',
    component: Pagingfour,
    name: "Pagingfour"
  },
  {
    path: '/share',
    component: Share,
    name: "Share"
  },
  {
    path: '/particulars',
    component: Particulars,
    name: "Particulars"
  },
  // {
  //   path: '/opens',
  //   component: Opens,
  //   name: "Opens"
  // },
  // {
  //   path: '/opense',
  //   component: Opense,
  //   name: "Opense"
  // },
  {
    path: '/null',
    component: Null,
    name: "Null"
  },
  // {
  //   path: '/hot',
  //   component: Hot,
  //   name: "Hot"
  // },
  // {
  //   path: '/hote',
  //   component: Hote,
  //   name: "Hote"
  // },
  {
    path: '/skin',
    component: Skin,
    name: "Skin"
  },
  {
    path: '/skine',
    component: Skine,
    name: "Skine"
  },
  {
    path: '/go',
    component: Go,
    name: "Go"
  },
  {
    path: '/delicious',
    component: Delicious,
    name: "Delicious"
  },
  {
    path: '/deliciouse',
    component: Deliciouse,
    name: "Deliciouse"
  },
  // 转盘二期
  {
    path: '/draw',
    component: Draw,
    name: "Draw"
  },
  {
    path: '/drawh',
    component: DrawH,
    name: "DrawH"
  },
  // 儿童
  {
    path: '/children',
    component: Children,
    name: "Children"
  },
  {
    path: '/childrene',
    component: Childrene,
    name: "Childrene"
  },
  // 9月电器
  {
    path: '/an',
    component: An,
    name: "An"
  },
  {
    path: '/ane',
    component: Ane,
    name: "Ane"
  },
  // 9月雷允上
  {
    path: '/thunder',
    component: Thunder,
    name: "Thunder"
  },
  {
    path: '/thundere',
    component: Thundere,
    name: "Thundere"
  },
  // 9月蛋黄酥
  {
    path: '/egg',
    component: Egg,
    name: "Egg"
  },
  {
    path: '/egge',
    component: Egge,
    name: "Egge"
  },
  // 9月会员日
  {
    path: '/member',
    component: Member,
    name: "Member"
  },
  {
    path: '/membere',
    component: Membere,
    name: "Membere"
  },
  {
    path: '/information',
    component: Information,
    name: "Information"
  },
  {
    path: '/informationh',
    component: InformationH,
    name: "InformationH"
  },
  // 重阳节
  {
    path: '/sun',
    component: Sun,
    name: "Sun"
  },
  {
    path: '/sune',
    component: Sune,
    name: "Sune"
  },
  // 国庆节
  {
    path: '/national',
    component: National,
    name: "National"
  },
  {
    path: '/nationale',
    component: Nationale,
    name: "Nationale"
  },
  // 气泡水
  {
    path: '/notice',
    component: Notice,
    name: "Notice"
  },
  {
    path: '/noticee',
    component: Noticee,
    name: "Noticee"
  },
  // 排名
  {
    path: '/announcement',
    component: Announcement,
    name: "Announcement"
  },
  {
    path: '/announcementh',
    component: AnnouncementH,
    name: "AnnouncementH"
  },
  // 店主拉新排名页
  {
    path: '/new',
    component: New,
    name: "New"
  },
  {
    path: '/newe',
    component: Newe,
    name: "Newe"
  },
  // 宠粉节10.12
  {
    path: '/fans',
    component: Fans,
    name: "Fans"
  },
  {
    path: '/fanse',
    component: Fanse,
    name: "Fanse"
  },
  // 双十一
  {
    path: '/eleven',
    component: Eleven,
    name: "Eleven"
  },
  {
    path: '/elevene',
    component: Elevene,
    name: "Elevene"
  },
  // 无活动状态
  {
    path: '/endone',
    component: Endone,
    name: "Endone"
  },
  {
    path: '/endtwo',
    component: Endtwo,
    name: "Endtwo"
  },
  // 秒杀
  {
    path: '/commodityPage',
    component: CommodityPage,
    name: "CommodityPage"
  },
  {
    path: '/homemode',
    component: HomeMode,
    name: "HomeMode"
  },
  {
    path: '/payOrder',
    component: PayOrder,
    name: "PayOrder"
  },
  {
    path: '/spikePage',
    component: SpikePage,
    name: "SpikePage"
  },
  {
    path: '/myOrder',
    component: MyOrder,
    name: "MyOrder"
  },
  {
    path: '/productDetails',
    component: ProductDetails,
    name: "ProductDetails"
  },
  {
    path: '/registration',
    component: Registration,
    name: "Registration"
  },
  {
    path: '/successfully',
    component: Successfully,
    name: "Successfully"
  },
  // 防黄牛
  // 我的预约
  {
    path: '/appointment',
    component: Appointment,
    name: "Appointment"
  },
  // 我的抽签  
  {
    path: '/lottery',
    component: Lottery,
    name: "Lottery"
  },
  // 我的抽签  
  {
    path: '/octHome',
    component: Home,
    name: "octHome"
  },
  // 商品详情  
  {
    path: '/commodityDetails',
    component: commodityDetails,
    name: "commodityDetails"
  },
  {

    path: '/productDetailsh',
    component: ProductDetailsMoile,
    name: "ProductDetailsMoile"
  },
  // 预约成功信息
  {
    path: '/success',
    component: Success,
    name: "Success"
  },
]

const router = new VueRouter({
  routes
})
// const router = new VueRouter({ mode: 'history', base: '/h5', routes });

export default router
